package com.medical.lsq.dao;

import com.medical.lsq.entity.SysDisease;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDiseaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SysDisease record);

    int insertSelective(SysDisease record);

    SysDisease selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysDisease record);

    int updateByPrimaryKey(SysDisease record);

    /**
     * 根据areaId获取所有子区域信息列表
     * @return
     */
    List<SysDisease> getDiseaseChilderList(@Param("diseaseId") String diseaseId);

    List<SysDisease> getDiseaseList(@Param("diseaseName")String diseaseName);
}